Total Complexity | 32 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 191 |
Lines of code | 125 |
Logical lines of code | 61 |
Comment lines | 15 |
Methods | 13 |
Properties | 7 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
register() | 49 | 9 | 31 | |
string_to_array() | 60 | 5 | 13 | |
normalize_attributes() | 48 | 3 | 33 | |
load_frontend_styles() | 68 | 3 | 8 | |
load_frontend_scripts() | 68 | 3 | 8 | |
path() | 71 | 2 | 6 | |
get_name() | 100 | 1 | 0 | |
can_enable() | 82 | 1 | 3 | |
register_block_type() | 70 | 1 | 6 | |
load_scripts() | 78 | 1 | 4 | |
get_default_attributes() | 82 | 1 | 3 | |
render() | 100 | 1 | 0 | |
render_callback() | 63 | 1 | 10 |